﻿using SqlSugar;

namespace Koala.Pro.Core.Models;

[SugarTable("T_ACL_BlackIP")]
public class BlackIPInfo : Entity<string>
{
    public virtual string Name { get; set; }

    public virtual int? AuthorizeType { get; set; }

    public virtual int? Forbid { get; set; }

    public virtual string IPStart { get; set; }

    public virtual string IPEnd { get; set; }

    public virtual string Note { get; set; }

    public virtual string Creator { get; set; }

    public virtual string Creator_ID { get; set; }

    public virtual DateTime? CreateTime { get; set; }

    public virtual string Editor { get; set; }

    public virtual string Editor_ID { get; set; }

    public virtual DateTime? EditTime { get; set; }

    public BlackIPInfo()
    {
        CreateTime = DateTime.Now;
        EditTime = DateTime.Now;
        AuthorizeType = 0;
        Forbid = 0;
    }
}
